﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200068D RID: 1677
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetChessRogueStoryAeonTalkInfoScRsp : IMessage<GetChessRogueStoryAeonTalkInfoScRsp>, IMessage, IEquatable<GetChessRogueStoryAeonTalkInfoScRsp>, IDeepCloneable<GetChessRogueStoryAeonTalkInfoScRsp>, IBufferMessage
	{
		// Token: 0x170015A6 RID: 5542
		// (get) Token: 0x06004BAB RID: 19371 RVA: 0x000CF8D0 File Offset: 0x000CDAD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetChessRogueStoryAeonTalkInfoScRsp> Parser
		{
			get
			{
				return GetChessRogueStoryAeonTalkInfoScRsp._parser;
			}
		}

		// Token: 0x170015A7 RID: 5543
		// (get) Token: 0x06004BAC RID: 19372 RVA: 0x000CF8D7 File Offset: 0x000CDAD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetChessRogueStoryAeonTalkInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170015A8 RID: 5544
		// (get) Token: 0x06004BAD RID: 19373 RVA: 0x000CF8E9 File Offset: 0x000CDAE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetChessRogueStoryAeonTalkInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06004BAE RID: 19374 RVA: 0x000CF8F0 File Offset: 0x000CDAF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChessRogueStoryAeonTalkInfoScRsp()
		{
		}

		// Token: 0x06004BAF RID: 19375 RVA: 0x000CF904 File Offset: 0x000CDB04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChessRogueStoryAeonTalkInfoScRsp(GetChessRogueStoryAeonTalkInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.talkDialogueId_ = other.talkDialogueId_;
			this.mIDPEPGGJEL_ = other.mIDPEPGGJEL_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004BB0 RID: 19376 RVA: 0x000CF951 File Offset: 0x000CDB51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChessRogueStoryAeonTalkInfoScRsp Clone()
		{
			return new GetChessRogueStoryAeonTalkInfoScRsp(this);
		}

		// Token: 0x170015A9 RID: 5545
		// (get) Token: 0x06004BB1 RID: 19377 RVA: 0x000CF959 File Offset: 0x000CDB59
		// (set) Token: 0x06004BB2 RID: 19378 RVA: 0x000CF961 File Offset: 0x000CDB61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170015AA RID: 5546
		// (get) Token: 0x06004BB3 RID: 19379 RVA: 0x000CF96A File Offset: 0x000CDB6A
		// (set) Token: 0x06004BB4 RID: 19380 RVA: 0x000CF972 File Offset: 0x000CDB72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TalkDialogueId
		{
			get
			{
				return this.talkDialogueId_;
			}
			set
			{
				this.talkDialogueId_ = value;
			}
		}

		// Token: 0x170015AB RID: 5547
		// (get) Token: 0x06004BB5 RID: 19381 RVA: 0x000CF97B File Offset: 0x000CDB7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MapField<uint, uint> MIDPEPGGJEL
		{
			get
			{
				return this.mIDPEPGGJEL_;
			}
		}

		// Token: 0x06004BB6 RID: 19382 RVA: 0x000CF983 File Offset: 0x000CDB83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetChessRogueStoryAeonTalkInfoScRsp);
		}

		// Token: 0x06004BB7 RID: 19383 RVA: 0x000CF994 File Offset: 0x000CDB94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetChessRogueStoryAeonTalkInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.TalkDialogueId == other.TalkDialogueId && this.MIDPEPGGJEL.Equals(other.MIDPEPGGJEL) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004BB8 RID: 19384 RVA: 0x000CF9F4 File Offset: 0x000CDBF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.TalkDialogueId != 0U)
			{
				num ^= this.TalkDialogueId.GetHashCode();
			}
			num ^= this.MIDPEPGGJEL.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004BB9 RID: 19385 RVA: 0x000CFA5A File Offset: 0x000CDC5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004BBA RID: 19386 RVA: 0x000CFA62 File Offset: 0x000CDC62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004BBB RID: 19387 RVA: 0x000CFA6C File Offset: 0x000CDC6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TalkDialogueId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.TalkDialogueId);
			}
			this.mIDPEPGGJEL_.WriteTo(ref output, GetChessRogueStoryAeonTalkInfoScRsp._map_mIDPEPGGJEL_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004BBC RID: 19388 RVA: 0x000CFAD8 File Offset: 0x000CDCD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.TalkDialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TalkDialogueId);
			}
			num += this.mIDPEPGGJEL_.CalculateSize(GetChessRogueStoryAeonTalkInfoScRsp._map_mIDPEPGGJEL_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004BBD RID: 19389 RVA: 0x000CFB44 File Offset: 0x000CDD44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetChessRogueStoryAeonTalkInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.TalkDialogueId != 0U)
			{
				this.TalkDialogueId = other.TalkDialogueId;
			}
			this.mIDPEPGGJEL_.MergeFrom(other.mIDPEPGGJEL_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004BBE RID: 19390 RVA: 0x000CFBA5 File Offset: 0x000CDDA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004BBF RID: 19391 RVA: 0x000CFBB0 File Offset: 0x000CDDB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 90U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.mIDPEPGGJEL_.AddEntriesFrom(ref input, GetChessRogueStoryAeonTalkInfoScRsp._map_mIDPEPGGJEL_codec);
					}
				}
				else
				{
					this.TalkDialogueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001DF9 RID: 7673
		private static readonly MessageParser<GetChessRogueStoryAeonTalkInfoScRsp> _parser = new MessageParser<GetChessRogueStoryAeonTalkInfoScRsp>(() => new GetChessRogueStoryAeonTalkInfoScRsp());

		// Token: 0x04001DFA RID: 7674
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001DFB RID: 7675
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04001DFC RID: 7676
		private uint retcode_;

		// Token: 0x04001DFD RID: 7677
		public const int TalkDialogueIdFieldNumber = 3;

		// Token: 0x04001DFE RID: 7678
		private uint talkDialogueId_;

		// Token: 0x04001DFF RID: 7679
		public const int MIDPEPGGJELFieldNumber = 11;

		// Token: 0x04001E00 RID: 7680
		private static readonly MapField<uint, uint>.Codec _map_mIDPEPGGJEL_codec = new MapField<uint, uint>.Codec(FieldCodec.ForUInt32(8U, 0U), FieldCodec.ForUInt32(16U, 0U), 90U);

		// Token: 0x04001E01 RID: 7681
		private readonly MapField<uint, uint> mIDPEPGGJEL_ = new MapField<uint, uint>();
	}
}
